import request from '@/sheep/request';
export default {
	// 获取分享信息 - 已登录
	getLoginShareInfo: (data) =>
		request({
			url: '/api/v1/image/shareImage',
			method: 'GET',
			params: data,
			custom: {
				showLoading: true,
				showSuccess: true,
				loadingMsg: '加载中',
				successMsg: '加载完成'
			},
		}),
	// 获取分享信息-未登录
	getNotloginShareInfo: (data) =>
		request({
			url: '/api/v1/visitor/shareImage',
			method: 'GET',
			params: data,
			custom: {
				showLoading: true,
				showSuccess: true,
				loadingMsg: '加载中',
				successMsg: '加载完成'
			},
		}),
};